import React, { Component } from 'react'
import { Table } from 'antd';

class TableNested extends Component {

    render() {
        const { columns_item, dataSourc_item } = this.props;
        console.log('TableNestedTableNestedTableNested===>',this.props)
        // const expandedRowRender = (record) => {
        //     const columns = [
        //         { title: 'prov', dataIndex: 'prov_name', key: 'prov_name', align: "center", width: 100, ellipsis: true },
        //         { title: 'Date', dataIndex: 'busi_name', key: 'busi_name', align: "center", width: 100, ellipsis: true },
        //         { title: 'Name', dataIndex: 'proc_name', key: 'proc_name', align: "center", width: 100, ellipsis: true },
        //     ];
        //     return <Table columns={columns} dataSource={record.item} pagination={false} />;
        // };

        return (
            <div>
                <Table columns={columns_item} dataSource={dataSourc_item} pagination={false} />
            </div>
        )
    }
}

export default TableNested